﻿namespace BM.Tools.WebControls.MForm.Controls.ValueHandlers
{
    using System.Web.UI.WebControls;

    using Generator;

    /// <summary>
    /// An interface for web control value handlers
    /// </summary>
    internal interface IWebControlValueHandler
    {
        /// <summary>
        /// Gets WebControl.
        /// </summary>        
        WebControl WebControl
        {
            get;
        }

        /// <summary>
        /// Gets the web control that is used in <see cref="FormBuilderMode.Edit"/>
        /// </summary>
        WebControl EditModeControl
        {
            get;
        }

        /// <summary>
        /// Gets the web control that is used in <see cref="FormBuilderMode.View"/>
        /// </summary>
        WebControl ViewModeControl
        {
            get;
        }
    }
}